body {
    /*background-image: url(assets/images/bbg.png);*/
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top center;
}

.data-fields .nav-link.active {
    background: var(--color-bg-light) !important;
}

.data-fields .nav-link {
    cursor: pointer;
    border-radius: 3px;
    display: block;
    margin-bottom: 8px;
    padding: 5px 10px;
    transition: .2s;
}

.general-form {
    background: var(--color-bg-light) !important;
    border: none !important;
    border-radius: 10px;
    margin-bottom: 25px;
    margin-top: 10px;
    padding: 10px;
}

.general-form svg {
    opacity: 0;
    height: 10px;
    cursor: help;
    transition: .3s;
}

.general-form:hover svg {
    opacity: 1;
    transition: .3s;
}

.form-control {
    background: #161C2C !important;
    border: none !important;
    border-radius: 5px;
    color: #85878D;
}

.form-control.invert {
    background: #161C2C !important;
    border-radius: 10px;
}

.select2 {
    width: 100% !important;
    height: calc(1.5em + 0.75rem + -2px);
}

.select2 .select2-selection--multiple,
.select2 .select2-selection--single {
    background-color: #161C2C !important;
    border: none !important;
    border-radius: 5px !important;
    height: 38px !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    color: #85878D;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 28px;
}

.select2-container .select2-search {
    display: none;
}

@keyframes select2-open {
    0% {
        max-height: 0px;
    }
    100% {
        max-height: 200px;
    }
}

.select2-container .select2-dropdown {
    background-color: #161C2C;
    border: none;
    border-radius: 5px;
}

.select2-container .select2-dropdown--below {
    margin-top: 10px;
    margin-bottom: 0px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    min-width: 200px;
}

.select2-container--default .select2-results>.select2-results__options {
    max-height: 220px;
    overflow-y: auto;
}

.select2-container .select2-dropdown--below::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #161C2C;
    transform: rotate(-45deg);
    position: absolute;
    top: -4px;
    left: 25px;
    display: block;
    z-index: 0;
}

.select2-container .select2-dropdown--above {
    margin-top: 0px;
    margin-bottom: 10px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

.select2-container .select2-dropdown--above::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #161C2C;
    transform: rotate(-45deg);
    position: absolute;
    bottom: -4px;
    left: 25px;
    display: block;
    z-index: 0;
}

.select2-container .select2-results {
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.select2-container .select2-results .select2-results__options li {
    background: transparent;
    color: #85878D;
    font-size: 1rem;
    padding: 0.375rem 0.75rem;
    transition: .3s;
}

.select2-container .select2-results .select2-results__options .select2-results__option--selected,
.select2-container .select2-results .select2-results__options .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #1D2539;
    color: #85878D;
    transition: .3s;
}

.select2-container .select2-selection--multiple::before {
    content: '+';
    color: #85878D;
    width: 27px;
    border-radius: 5px;
    text-align: center;
    height: calc(100% - 8px);
    font-size: 16px;
    display: flex;
    font-weight: bold;
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 1;
    background-color: #0C101B;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.select2-container .select2-selection--multiple::before:hover {
    background-color: #1D2539;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #0C101B;
    border: 1px solid #0C101B;
    border-radius: 4px;
    box-sizing: border-box;
    display: inline-block;
    margin-left: 5px;
    margin-top: 5px;
    padding: 0;
    padding-left: 5px;
    position: relative;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
    margin-left: 5px;
    color: #85878D;
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
}

.select2-container .select2-selection--multiple .select2-selection__choice__remove {
    background-color: transparent;
    border: none;
    border-right: none;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    padding-right: 5px;
    color: #85878D;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    padding: 0 4px;
    position: relative;
    left: 0;
    top: 0;
    transition: .3s;
    height: 100%;
}

.select2-container .select2-selection--multiple .select2-selection__choice__remove:hover {
    background: #1D2539;
    color: #85878D !important;
    transition: .3s;
}

.select2-container .select2-selection--multiple .select2-selection__choice__remove span {
    opacity: 0;
}

.select2-container .select2-selection--multiple .select2-selection__choice__remove::before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5M5 1L1 5' stroke='%2385878D' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 10px;
    height: 10px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    color: #85878D;
}

.auto {
    position: absolute;
    right: 19px;
    margin-top: 7px;
    height: 24px;
    border: 1px solid #6c757d;
    background: #161C2C !important;
    font-size: 10pt;
    color: #6c757d !important;
    padding: 0px 4px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.auto:hover {
    background: #6c757d !important;
    color: #0f1422 !important;
    transition: .3s;
}